#homePage {
}
.expandable-text {
    position: relative;
    line-height: 1.5;

    .content-wrapper {
        display: -webkit-box;
        -webkit-line-clamp: 5;  /* 默认显示3行 */
        -webkit-box-orient: vertical;
        overflow: hidden;
        cursor: pointer;

        &:hover {
            background: #fafafa;
        }
    }

    &.expanded .content-wrapper {
        -webkit-line-clamp: unset;
        white-space: pre-wrap;
    }

    .toggle-btn {
        color: #1890ff;
        margin-left: 8px;
        font-size: 12px;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        background: white;
        padding: 0 4px;
        border-radius: 4px;
        transition: all 0.2s;

        &:hover {
            background: #e6f7ff;
        }
    }
}